package graph_viewer.app_exception;

/** 
	FligtByNightException is the super class of all exceptions in this application.

	@author		Wanchun Li
	@author		paulur_sunceritfy@lycos.com
	@version	%I% %G%
*/
public class Element_Cast_Exception extends App_Exception {
	private static String ERR_INFO	= "Cannot cast the element!";

	/**
		Constructs a new InvalidKeyValueFormatException ojbect and prints out the specified error message.

		@param	errMsg	the error message to be displayed.
	*/
	public Element_Cast_Exception( String errMsg ){
		super( errMsg );		
	}	
	
	/**
		Constructs a new InvalidKeyValueFormatException ojbect and prints out default error message.  
	*/
	public  Element_Cast_Exception(){
		this( ERR_INFO );	
	}

}
